package core;

import java.util.Date;

public class DateInterval {

  private Date end;
  private Date begin;

  public DateInterval() {
    
  }
  
  public DateInterval(Date begin, Date end){
    this.setBegin(begin);
    this.setEnd(end);
  }

  public Date getBegin() {
    return begin;
  }

  public void setBegin(Date begin) {
    this.begin = begin;
  }

  public Date getEnd() {
    return end;
  }

  public void setEnd(Date end) {
    this.end = end;
  }
}
